#ifndef NETWORKMANAGER_H
#define NETWORKMANAGER_H

#include "qnetworkaccessmanager.h"
#include "qnetworkreply.h"

class NetworkManager: public QNetworkAccessManager {

	Q_OBJECT

private:

	QNetworkReply *createRequest(Operation op, const QNetworkRequest &request, QIODevice *outgoingData = 0);

public:

	QByteArray get(QString url);

signals:

	QNetworkReply *createRequest(QUrl requestUrl);

};

#endif // NETWORKMANAGER_H
